package com.micai.springboot.entity.ask;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;
import com.micai.springboot.base.BizEntity;

/**
 * @Auther: zhaoxinguo
 * @Date: 2018/10/25 18:01
 * @Description: 答案表
 */
@TableName("ask_answer")
public class AskAnswerEntity extends BizEntity<AskAnswerEntity> {
    /**
     * 问题ID
     */
    @TableField("question_id")
    private Long questionId;
    /**
     * 答题人ID
     */
    @TableField("answer_id")
    private Long answerId;
    /**
     * 答题内容
     */
    @TableField("answer_content")
    private String answerContent;
    /**
     * 是否最佳 1:最佳，2：默认
     */
    @TableField("optimal")
    private String optimal;

    public Long getQuestionId() {
        return questionId;
    }

    public void setQuestionId(Long questionId) {
        this.questionId = questionId;
    }

    public Long getAnswerId() {
        return answerId;
    }

    public void setAnswerId(Long answerId) {
        this.answerId = answerId;
    }

    public String getAnswerContent() {
        return answerContent;
    }

    public void setAnswerContent(String answerContent) {
        this.answerContent = answerContent;
    }

    public String getOptimal() {
        return optimal;
    }

    public void setOptimal(String optimal) {
        this.optimal = optimal;
    }
}
